Skip to content

chore(deps): update dependency friendsofphp/php-cs-fixer to v3.71.0 #1666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 11, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
friendsofphp/php-cs-fixer 3.65.0 -> 3.71.0 age adoption passing confidence

Release Notes

PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)

v3.71.0

Compare Source

  • feat: OrderedImportsFixer - deprecate length sorting algorithm (#​8473)
  • fix: BinaryOperatorSpacesFixer - do not break alignment of UTF-8 array keys (#​8484)
  • fix: PhpdocAlignFixer - align correctly type with UTF8 characters (#​8486)
  • fix: SingleSpaceAroundConstructFixer - handle alternative syntax (#​8317)
  • fix: StatementIndentationFixer - return in braceless if (#​8479)
  • chore: update type in SingleSpaceAroundConstructFixerTest::provideFixWithElseIfCases (#​8481)
  • chore: update type in SingleSpaceAroundConstructFixerTest::provideFixWithIfCases (#​8482)
  • deps: bump phpstan/phpstan from 2.1.6 to 2.1.7 in /dev-tools in the phpstan group (#​8485)
  • DX: cleanup PhpdocNoAliasTagFixerTest (#​8476)
  • refactor: add FullyQualifiedNameAnalyzer (#​8048)
  • refactor: codeHash - update when it's (re-)generated (#​8470)
  • refactor: SwitchAnalyzer - improve performance (#​8407)
  • test: NameQualifiedTransformerTest - correct test case (#​8471)

v3.70.2

Compare Source

  • deps: upgrade deep dev-tools deps (#​8472)
  • fix: MbStrFunctionsFixer must run before NativeFunctionInvocationFixer (#​8466)
  • fix: MethodArgumentSpaceFixer - fix nested calls for ensure_fully_multiline option (#​8469)

v3.70.1

Compare Source

  • fix: PhpUnitSizeClassFixer must run before PhpUnitAttributesFixer (#​8457)
  • DX: cleanup OrderedImportsFixerTest (#​8458)

v3.70.0

Compare Source

  • feat: Add PhpUnitDataProviderMethodOrderFixer fixer (#​8225)
  • feat: HeaderCommentFixer - allow validators (#​8452)
  • feat: PhpCsFixer ruleset: use operator_linebreak rule for all operators (#​8417)
  • feat: PhpUnitMethodCasingFixer to support PHPUnit's Test attribute (#​8451)
  • feat: TypeDeclarationSpacesFixer - Fix whitespace between const type and const name (#​8442)
  • chore: extend bug report template (#​8447)
  • chore: extend bug report template - more installation options (#​8450)
  • CI: phpstan-symfony - add entry point for console (#​8292)
  • deps: bump alpine from 3.21.2 to 3.21.3 (#​8454)
  • deps: bump phpstan/phpstan from 2.1.5 to 2.1.6 in /dev-tools in the phpstan group (#​8453)
  • fix: CommentsAnalyzer - allow other forms of assignment as valid structural elements for PHPDocs (#​8371)
  • fix: PhpUnitTestClassRequiresCoversFixer must run before PhpUnitAttributesFixer (#​8444)
  • test: fix CheckCommandTest::testDryRunModeIsUnavailable to correctly check that option --dry-run is unavailable (#​8438)

v3.69.1

Compare Source

  • fix: PhpUnitAttributesFixer - convert correctly version constraint (#​8439)
  • test: PhpUnitAttributesFixer must run before NoEmptyPhpdocFixer (#​8443)

v3.69.0

Compare Source

  • feat: Add unsealed array shape phpdoc support (#​8299)
  • fix: OrderedClassElementsFixer - sort correctly typed constants (#​8408)
  • chore: do not use test class as test data (#​8430)
  • chore: update checkbashisms to 2.25.2 (#​8427)
  • chore: use constants instead of literal strings (#​8422)
  • CI: no need to unlock deps on master (#​8426)
  • CI: run tests using PHPUnit 12 (#​8431)
  • deps: bump kubawerlos/composer-smaller-lock from 1.0.1 to 1.1.0 in /dev-tools (#​8414)
  • deps: bump maglnet/composer-require-checker from 4.14.0 to 4.15.0 in /dev-tools (#​8406)
  • deps: bump phpstan/phpstan from 2.1.3 to 2.1.5 in /dev-tools in the phpstan group (#​8437)
  • deps: bump the phpstan (#​8423)
  • deps: upgrade dev requirements (#​8424)

v3.68.5

Compare Source

  • fix: NativeTypeDeclarationCasingFixer - do not touch constants named as native types (#​8404)

v3.68.4

Compare Source

  • chore: run SCA on PHP 8.4 (#​8396)
  • fix: NativeTypeDeclarationCasingFixer should not touch property names (#​8400)

v3.68.3

Compare Source

  • fix: NativeTypeDeclarationCasingFixer - fix for enum with "Mixed" case (#​8395)

v3.68.2

Compare Source

  • fix: NativeTypeDeclarationCasingFixer - fix for promoted properties, enums, false and mixed (#​8386)
  • chore: ensure that dev-tools dependencies are bumped (#​8389)
  • chore: experiment to see if we can auto-shrink the lock after dependabot (#​8383)
  • chore: experiment to see if we can auto-shrink the lock after dependabot /part (#​8384)
  • chore: Get rid of Docker warnings during build (#​8379)
  • chore: remove redundant check (#​8391)
  • chore: update types (#​8390)
  • CI: stale - update close msg to emphasize contribution over demand (#​8385)
  • deps: bump phpcompatibility/phpcompatibility-symfony from 1.2.1 to 1.2.2 in /dev-tools (#​8378)
  • deps: bump the phpstan group in /dev-tools with 4 updates (#​8387)
  • refactor: Use native Yaml::parseFile() instead of custom method (#​8380)

v3.68.1

Compare Source

  • chore: AutoReview/CiConfigurationTest - handle failure of reading files (#​8375)
  • CI: Docker - check all compose services (#​8370)
  • deps: bump alpine from 3.18 to 3.21 (#​8377)
  • deps: bump alpine from 3.18.4 to 3.21.2 (#​8362)
  • refactor: Tokens::clearEmptyTokens - optimize cache handling (#​8335)

v3.68.0

Compare Source

  • feat: ModernizeStrposFixer - support stripos (#​8019)
  • chore: FullyQualifiedStrictTypesFixer - reduce conditions count (#​8368)
  • test: PhpUnitSetUpTearDownVisibilityFixer - extend test for anonymous classes (#​8369)

v3.67.1

Compare Source

  • fix: FullyQualifiedStrictTypesFixer - fix return types (#​8367)
  • fix: PhpUnitSetUpTearDownVisibilityFixer - do not touch anonymous classes (#​8366)
  • chore: allow for class-string in doc types of rule options (#​8358)
  • chore: CS: Move data provider methods after their test method (#​8302)
  • chore: dependabot integration (#​8357)
  • chore: PHPStan - upgrade to 2.1 (#​8355)
  • CI: Introduce PHP compatibility check (#​7844)
  • deps: bump docker/build-push-action from 5 to 6 (#​8361)
  • docs: update installation instructions (#​8356)

v3.67.0

Compare Source

  • chore: simplify loops using end/prev functions (#​8352)
  • feat: Introduce general_attribute_remove fixer (#​8339)

v3.66.2

Compare Source

  • chore: do not use bitwise "or" assignment operator (#​8346)
  • chore: remove extra check, never happening (#​8348)
  • chore: remove impossible @throws annotation (#​8353)
  • chore: Tokens - cleanup (#​8350)
  • chore: Tokens - minor performance and types optimizations (#​8349)

v3.66.1

Compare Source

  • chore: fix CI for Windows (#​8326)
  • chore: NoMultipleStatementsPerLineFixer - be aware of PHP 8.4 property hooks (#​8344)
  • chore: TernaryToElvisOperatorFixer - improvements based on PHPStan detections (#​8345)
  • chore: PhpUnitTestCaseStaticMethodCallsFixer - fix type of methods option in documemtation and add example with it (#​8338)
  • chore: update legacy deps (#​8342)
  • deps: update box (#​8336)

v3.66.0

Compare Source

  • feat: Tokenizer - initial support for PHP 8.4 property hooks (#​8312)
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11.5 methods (#​8314)
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - make sure all static protected methods are handled (#​8327)
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - support createStub (#​8319)
  • feat: UseArrowFunctionsFixer - support multiline statements (#​8311)
  • fix: NullableTypeDeclarationFixer - do not break multi-line declaration (#​8331)
  • test: CiConfigurationTest - drop not needed condition, logic is checked in upcoming assertion (#​8303)
  • chore: add more typehints (#​8325)
  • chore: DotsOutput - more const, better typing (#​8318)
  • chore: mark classes as readonly (#​8275)
  • chore: more const, better typing (#​8320)
  • chore: temporarily prevent symfony/process 7.2+ (#​8322)
  • chore: Tokens - simplify (un)registerFoundToken types (#​8328)
  • chore: upgrade PHPStan (#​8321)
  • chore: BraceTransformer - don't touch curly index braces since 8.4, as it's not a valid syntax anymore (#​8313)
  • CI: enable phpdoc_to_property_type on php-lowest (#​8324)
  • Create SECURITY.md
  • docs: Tokens - fix docs (#​8332)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) December 29, 2024 15:08
@renovate renovate bot force-pushed the renovate/friendsofphp-php-cs-fixer-3.x branch from f7a029c to be7933b Compare March 11, 2025 10:43
@renovate renovate bot changed the title chore(deps): update dependency friendsofphp/php-cs-fixer to v3.66.0 chore(deps): update dependency friendsofphp/php-cs-fixer to v3.71.0 Mar 11, 2025
@simPod
Copy link
Collaborator

simPod commented Mar 11, 2025

@spawnia the PAT expired (1y), asked @vladar in PM to generate a new one

@renovate renovate bot merged commit 08579d7 into master Mar 11, 2025
18 checks passed
@renovate renovate bot deleted the renovate/friendsofphp-php-cs-fixer-3.x branch March 11, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants